package fitdroid.tabs;
public class Tracker {
	private static int sem = 0;

	private static Tracker tracker = null;

	private Tracker() {

	}

	public static Tracker getInstance() {
		if (tracker == null) {
			tracker = new Tracker();
		}
		return tracker;
	}

	public void up() {
		sem++;
	}

	public void down() {
		if (sem > 0)
			sem--;
	}

	public int getSem() {
		return sem;
	}

}
